#include <cstdio>
using namespace std;

#define MAXN 50
int v[MAXN];
int main()
{
	freopen("zigbagdata.in", "r", stdin);//重定向输入流
	int n;
	while(scanf("%d", &n) != EOF){
    	printf("n: %d\n",n);
    	for(int i=0;i<n;i++) 
    	{
    		scanf("%d",&v[i]);
    		printf("%d,",v[i] );
    	}	
    }
    return 0;
}